Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
![]() |
Figure 5.10
Building an archway using multiple, translated coordinate systems |
|
Click on the image to view the VRML scene. |
#VRML V2.0 utf8 # The VRML 2.0 Sourcebook # Copyright (c) 1997 # Andrea L. Ames, David R. Nadeau, and John L. Moreland Group { children [ # Ground Shape { appearance DEF White Appearance { material Material { } } geometry Box { size 25.0 0.1 25.0 } }, # Left Column Transform { translation -2.0 3.0 0.0 children Shape { appearance USE White geometry Cylinder { radius 0.3 height 6.0 } } }, # Right Column Transform { translation 2.0 3.0 0.0 children Shape { appearance USE White geometry Cylinder { radius 0.3 height 6.0 } } }, # Archway span Transform { translation 0.0 6.05 0.0 children Shape { appearance USE White geometry Box { size 4.6 0.4 0.6 } } } ] }